#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
	int n,h,cnt = 0;
	scanf("%d %d",&n,&h);
	for(int i = 0;i<n;i++)
	{
		int x;
		scanf("%d",&x);
		if(x>h) cnt++;
	}
	printf("%d\n",cnt*2+(n-cnt));
}
